<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>{{>/WEB-INF/pages/common/meta_base.part.html}}
{{>/WEB-INF/pages/common/refs_base.part.html}}
{{>/WEB-INF/pages/common/refs_modal.part.html}}
</head>
<body>
	<!-- <div class="container"> -->
	{{>/WEB-INF/pages/common/layout_header.part.html}}
	<div class="container">
		<ul class="breadcrumb">
		  <li><a href="{{ctx}}">首页</a></li>
		  <li><a href="{{ctx}}/mam/appMain/list-view">应用管理</a></li>
		  <li><a href="{{ctx}}/mam/appMain/app-view/{{appvo.id}}">{{appvo.app_name}}</a></li>
		  <li class="active">{{version}}</li>
		</ul>
		<hr class="hr1" />
		<!-- 关联模块加载 -->
		<div id="panelModul"></div>
	</div>
</body>
{{>/WEB-INF/pages/app/widget-modal.html}}
</html>

<script type="text/javascript">
	$(function() {
		var appId = "{{appvo.id}}";
		var version = "{{version}}";
		reloadPanel(appId, version);
	})

	//重新定义加载模块
	function reloadPanel(appId, version) {
		var loadurl = "{{ctx}}/mam/appVersionWidgetVersion/app?appId=" + appId
				+ "&version=" + version;
		$.get(loadurl, function(data) {
			$('#panelModul').html(data)
		});
	}
</script>